

import {createStore,applyMiddleware} from "redux";
import thunk from "redux-thunk"
import promise from "redux-promise"  // 实现action 里面的异步操作 
import { reducers } from "./reducers";

const store =  createStore(reducers,applyMiddleware(thunk,promise));

export default store;